﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="grid.aspx.cs" Inherits="grid" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <style>
        html, body
        {
            width: 100%;
            height: 100%;
            margin: 0px;
        }
        
        *
        {
            -moz-box-sizing: border-box;
	        -webkit-box-sizing: border-box;
	        box-sizing: border-box;
        }
        
        .grid
        {
            height: 100%;
        }
        
        .row
        {
            border: 1px solid green;
        }
        
        .cell
        {
            border: 1px solid blue;
        }
    </style>
    <title></title>
    <script type="text/javascript" src="/scripts/NinJa.js"></script>
    <script type="text/javascript" src="/scripts/NinJaVisuals.js"></script>
    <script type="text/javascript" src="/scripts/NinJaControls.js"></script>
</head>
<body>
    <div class="grid">
        <div class="row" height="25%">
            <div class="cell" width="100">height: 50%, width: 100px</div>
            <div class="cell" width="*">height: 50%, width: *</div>
        </div>
        <div class="row" height="*">
            <div class="cell" width="10%">height: *, width: 25%</div>
            <div class="cell" width="*">height: *, width: *</div>
            <div class="cell" width="*">height: *, width: *</div>
        </div>
    </div>
</body>
</html>
